<template>
  <div class="phone_container">
    <p>找回密码</p>
    <mt-field :state="phoneState" class="phone" placeholder="请输入手机号" type="tel" v-model="phone"></mt-field>
    <mt-button @click="next" class="next" type="primary">下一步</mt-button>
    <p class="protocol">注册/登录即代表您已同意<span>《华润燃气用户协议》</span></p>
  </div>
</template>

<script>
export default {
  data () {
    return {
      phone: '',
      // 手机的格式状态
      phoneState: ''
    }
  },
  created () {},
  methods: {
    next () {
      this.$router.push('/resetPsw')
    }
  }

}
</script>

<style lang="less" scoped>
  .phone_container {
    position: relative;
    box-sizing: border-box;
    height: 100%;
    padding: 10px 25px;

    >p:nth-of-type(1) {
      margin-top: 76px;
      text-align: center;
      font-size: 19px;
      font-weight: 700;
      color: #333;
    }

    .phone {
      margin-top: 30px;
    }

    /deep/ .mint-cell-wrapper {
      background-position: bottom;
    }

    /deep/ input {
      font-size: 13px;
    }

    /deep/ input::-webkit-input-placeholder {
      font-size: 13px;
      color: #CCCCCC;
    }
  }

  .next {
    margin-top: 20px;
    width: 100%;
    font-size: 14px;
    background-color: #F59E0E;
  }
</style>
